package com.example.demo.web.manage.model;

import com.easy.query.core.annotation.Column;
import com.easy.query.core.annotation.EntityProxy;
import com.easy.query.core.annotation.Table;
import com.easy.query.core.proxy.ProxyEntityAvailable;
import com.example.demo.web.manage.model.proxy.UserDeptEntityProxy;
import lombok.Data;

/**
 * 实体类。
 *
 * @author Airhead
 * @since 1.0
 */
@Data
@Table(value = "demo_user_dept")
@EntityProxy
public class UserDeptEntity implements ProxyEntityAvailable<UserDeptEntity, UserDeptEntityProxy> {

  /** id */
  @Column(primaryKey = true, value = "id", generatedKey = true)
  private Integer id;

  /** 用户id */
  private Integer userId;

  /** 部门id */
  private Integer deptId;
}
